scoreboard players remove @s 箱子刷新 1
function chestNEW:生成/刷新 if @s[score_箱子刷新=0]